package provider

import "github.com/kingwrcy/devNews/model"

type Storage interface {

	Save(source string,items []model.News) bool
	Exists(uuid string) bool
	GetByPageSize(category string,start, offset int64) []model.News
	Close()
	Total(category string) int
}
